package com.sixth.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sixth.core.entity.User;
import com.sixth.core.vo.R;
import com.sixth.system.vo.PostDataVo;
import com.sixth.system.vo.UserVo;

import java.util.List;
import java.util.Map;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-12 17:13
 **/
public interface UserService {
    public R<User> selectByName(String username);

    R<IPage<User>> selectByPage(UserVo userVo);

    R batchDelete(Long[] userIds);

    R add(User user);

    R<User> getUserById(Long id);

    R updateById(User user);

    R removeById(Long userId);


    R<List<User>> selelctSchedulingUser(Map<String, Object> params);

    R<List<User>> listAllUser();

    R<User> selectBytel(String phone);

    R updatePasswordById(PostDataVo postDataVo);

}
